package com.b.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.b.domain.SystemNotification;
import com.b.dao.SystemNotificationMapper;
import com.b.service.SystemNotificationService;
import java.util.List;
@Service
public class SystemNotificationServiceImpl implements SystemNotificationService{

    @Resource
    private SystemNotificationMapper systemNotificationMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return systemNotificationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SystemNotification record) {
        return systemNotificationMapper.insert(record);
    }

    @Override
    public int insertSelective(SystemNotification record) {
        return systemNotificationMapper.insertSelective(record);
    }

    @Override
    public SystemNotification selectByPrimaryKey(Integer id) {
        return systemNotificationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SystemNotification record) {
        return systemNotificationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SystemNotification record) {
        return systemNotificationMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<SystemNotification> getAll() {
        return systemNotificationMapper.getAll();
    }
}
